package com.zishi.venuesbooking.ac;

import android.os.Bundle;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

import com.bumptech.glide.Glide;
import com.zishi.venuesbooking.BaseActivity;
import com.zishi.venuesbooking.R;

import org.json.JSONException;

import java.io.IOException;

import de.hdodenhof.circleimageview.CircleImageView;

public class MyInfoActivity extends BaseActivity {


    private CircleImageView mMyAvatar;
    @Override
    protected int initLayout() {
        return R.layout.activity_my_info;
    }

    @Override
    protected void initView() {
        mMyAvatar = findViewById(R.id.myInfoAvatar);

    }

    @Override
    protected void initData() throws JSONException, IOException {
        // 加载头像
        Glide.with(this)
                .load("file:///android_asset/images/friend/avata_6.png")
                .placeholder(R.drawable.avata_1)
                .into(mMyAvatar);
    }
}